//
// Created by bleedingfight on 2020/7/5.
//

<<<<<<< HEAD:cxx/algorithm/src/containsDuplicate.cc
#include "containsDuplicate.h"
bool containsDuplicate(std::vector<int>& nums){
    std::set<int> set_num = std::set<int>(nums.begin(),nums.end());
    return set_num.size()!=nums.size();

}
=======
#include "common.h"
namespace common {
bool containsDuplicate(std::vector<int> &nums) {
    std::set<int> set_num = std::set<int>(nums.begin(), nums.end());
    return set_num.size() != nums.size();
}
} // namespace common
>>>>>>> dev:cxx/algorithm/common/src/containsDuplicate.cc
